package com.chaoyi.dao.mysql;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.chaoyi.model.Home;

public interface HomeMapper {

	List<Home> findList(@Param("pageStat")String offset,@Param("pageStop")String limit,@Param("type") String type);

	int saveHome(@Param("home")Home home);

	Home findHomeOne(@Param("id")int id);

	int alertHomeSave(@Param("home")Home home);

	int deleteHome(@Param("id")int id);

	int findCount(@Param("type")String type);

}
